package com.xjcs.saplingplan.http

import okhttp3.Interceptor
import okhttp3.Request
import okhttp3.Response

class HeaderInterceptor: Interceptor {
    override fun intercept(chain: Interceptor.Chain): Response {
        val originalRequest : Request = chain.request()
        val token = ""
        val newRequest = originalRequest.newBuilder()
            .header("", token)
            .build()
        return chain.proceed(newRequest)
    }
}